package com.pinda.entity;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import java.io.Serializable;
/**
 * <p>
 * 车辆行驶证表
 * </p>
 *
 * @author 
 * @since 2022-05-05
 */
@TableName("pd_truck_license")
public class TruckLicense implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private String id;

    /**
     * 车辆id
     */
    private String truckId;

    /**
     * 发动机编号
     */
    private String engineNumber;

    /**
     * 注册时间
     */
    private Date registrationDate;

    /**
     * 国家强制报废日期
     */
    private Date mandatoryScrap;

    /**
     * 检验有效期
     */
    private Date expirationDate;

    /**
     * 整备质量
     */
    private BigDecimal overallQuality;

    /**
     * 核定载质量
     */
    private BigDecimal allowableWeight;

    /**
     * 外廓尺寸
     */
    private String outsideDimensions;

    /**
     * 行驶证有效期
     */
    private Date validityPeriod;

    /**
     * 道路运输证号
     */
    private String transportCertificateNumber;

    /**
     * 图片信息
     */
    private String picture;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTruckId() {
        return truckId;
    }

    public void setTruckId(String truckId) {
        this.truckId = truckId;
    }

    public String getEngineNumber() {
        return engineNumber;
    }

    public void setEngineNumber(String engineNumber) {
        this.engineNumber = engineNumber;
    }

    public Date getRegistrationDate() {
        return registrationDate;
    }

    public void setRegistrationDate(Date registrationDate) {
        this.registrationDate = registrationDate;
    }

    public Date getMandatoryScrap() {
        return mandatoryScrap;
    }

    public void setMandatoryScrap(Date mandatoryScrap) {
        this.mandatoryScrap = mandatoryScrap;
    }

    public Date getExpirationDate() {
        return expirationDate;
    }

    public void setExpirationDate(Date expirationDate) {
        this.expirationDate = expirationDate;
    }

    public BigDecimal getOverallQuality() {
        return overallQuality;
    }

    public void setOverallQuality(BigDecimal overallQuality) {
        this.overallQuality = overallQuality;
    }

    public BigDecimal getAllowableWeight() {
        return allowableWeight;
    }

    public void setAllowableWeight(BigDecimal allowableWeight) {
        this.allowableWeight = allowableWeight;
    }

    public String getOutsideDimensions() {
        return outsideDimensions;
    }

    public void setOutsideDimensions(String outsideDimensions) {
        this.outsideDimensions = outsideDimensions;
    }

    public Date getValidityPeriod() {
        return validityPeriod;
    }

    public void setValidityPeriod(Date validityPeriod) {
        this.validityPeriod = validityPeriod;
    }

    public String getTransportCertificateNumber() {
        return transportCertificateNumber;
    }

    public void setTransportCertificateNumber(String transportCertificateNumber) {
        this.transportCertificateNumber = transportCertificateNumber;
    }

    public String getPicture() {
        return picture;
    }

    public void setPicture(String picture) {
        this.picture = picture;
    }

    @Override
    public String toString() {
        return "TruckLicense{" +
        ", id=" + id +
        ", truckId=" + truckId +
        ", engineNumber=" + engineNumber +
        ", registrationDate=" + registrationDate +
        ", mandatoryScrap=" + mandatoryScrap +
        ", expirationDate=" + expirationDate +
        ", overallQuality=" + overallQuality +
        ", allowableWeight=" + allowableWeight +
        ", outsideDimensions=" + outsideDimensions +
        ", validityPeriod=" + validityPeriod +
        ", transportCertificateNumber=" + transportCertificateNumber +
        ", picture=" + picture +
        "}";
    }
}
